/****************************************************************************** * Copyright (C) Ultraleap, Inc. 2011-2021. * * * * Use subject to the terms of the Apache License 2.0 available at * * http://www.apache.org/licenses/LICENSE-2.0, or another agreement * * between Ultraleap and you, your company or other organization. * ******************************************************************************/ using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Leap.Unity.Interaction { public interface IInternalInteractionController { void FixedUpdateController(); bool CheckHoverEnd(out HashSet hoverEndedObjects); bool CheckHoverBegin(out HashSet hoverBeganObjects); bool CheckHoverStay(out HashSet hoveredObjects); bool CheckPrimaryHoverEnd(out IInteractionBehaviour primaryHoverEndedObject); bool CheckPrimaryHoverBegin(out IInteractionBehaviour primaryHoverBeganObject); bool CheckPrimaryHoverStay(out IInteractionBehaviour primaryHoveredObject); bool CheckContactEnd(out HashSet contactEndedObjects); bool CheckContactBegin(out HashSet contactBeganObjects); bool CheckContactStay(out HashSet contactedObjects); bool CheckGraspEnd(out IInteractionBehaviour releasedObject); bool CheckGraspBegin(out IInteractionBehaviour newlyGraspedObject); bool CheckGraspHold(out IInteractionBehaviour graspedObject); bool CheckSuspensionBegin(out IInteractionBehaviour suspendedObject); bool CheckSuspensionEnd(out IInteractionBehaviour resumedObject); } }